<!--
 * @Author: 平台支付的支付方式
 * @Date: 2020-06-30 10:15:19
 * @LastEditTime: 2020-07-05 19:11:53
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \JK商城\jkshopping\src\pages\payment\order\components\orderpay\components\platformPay.vue
--> 
<template>
  <div class="platformPay">
    <div class="pay">
      <!--平台支付标题-->
      <div class="title">
        <p class="name">平台支付</p>
      </div>
      <!--微信支付-->
      <van-radio-group v-model="radio">
        <div class="wechat clearFix">
          <van-icon class="wechat_icon" name="wechat" />
          <span class="name">微信支付</span>
          <van-radio class="check" name="wechat"></van-radio>
        </div>
        <!--支付宝支付-->
        <div class="alipay clearFix">
          <van-icon class="alipay_icon" name="alipay" />
          <span class="name">支付宝支付</span>
          <van-radio class="check" name="alipay"></van-radio>
        </div>
      </van-radio-group>        
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      radio: "wechat"
    };
  },
  methods: {
   
  }
};
</script>

<style lang="scss" scoped>
.platformPay {
  /*支付方式盒子*/
  margin-top: 10px;
  .pay {
    background-color: #fff;
    widows: 100%;
    height: 150px;
    font-weight: bold;
    /*平台支付样式*/
    .title {
      height: 50px;
      padding: 10px;
      box-sizing: border-box;

      .name {
      }
    }
    /*微信支付样式*/
    .wechat {
      height: 50px;
      border: 1px solid #ccc;
      padding: 10px;
      box-sizing: border-box;

      .wechat_icon {
        margin-right: 10px;
        color: #00ff33;
        font-size: 30px;
        float: left;
      }
      .name {
      }
      .check {
        float: right;
      }
    }
    /*支付宝支付样式*/
    .alipay {
      height: 50px;
      padding: 10px;
      box-sizing: border-box;
      .alipay_icon {
        margin-right: 10px;
        color: #0066ff;
        font-size: 30px;
        float: left;
      }
      .name {
      }
      .check {
        float: right;
      }
    }
  }
}
</style>